mkdir -p /log/was/{###$SERVER_HOME###}/accesslog
mkdir -p /log/was/{###$SERVER_HOME###}/nohup
mkdir -p /log/was/{###$SERVER_HOME###}/log

ln -s /log/was/{###$SERVER_HOME###}/accesslog accesslog
ln -s /log/{###$SERVER_HOME###}/nohup nohup
ln -s /log/{###$SERVER_HOME###}/log log

mv start.sh start{###$SERVER_HOME###}.sh
mv stop.sh stop{###$SERVER_HOME###}.sh

chmod u+x *.sh
